Skip to content

Consistent, documented null handling in FileType.isType() - #8330

Merged
labkey-adam merged 2 commits into
developfrom
fb_is_type_nullable
Nov 12, 2026
Merged

labkey-adam merged 2 commits into
developfrom
fb_is_type_nullable

Conversation

@labkey-adam

Copy link
Copy Markdown
Contributor

Rationale

Make all FileType.isType() handle null values, for consistency. Document this with @Nullable annotation.

Related Pull Requests

@labkey-matthewb labkey-matthewb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fun activity, try using @NullMarked and enabling errorProne=1 with fb_errorprone branch

@labkey-adam labkey-adam self-assigned this Nov 12, 2026
@labkey-adam labkey-adam added this to the 26.12 milestone Nov 12, 2026
@labkey-adam
labkey-adam merged commit 0b3f3c0 into develop Nov 12, 2026
8 checks passed
@labkey-adam
labkey-adam deleted the fb_is_type_nullable branch November 12, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants